package com.uzai.console.dto.wxpubmanage;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author cen
 * @Date 2021/12/7 0007 14:58
 */

@ApiModel("图文素材创建")
public class CreateMaterialDto extends BaseDto {

    @ApiModelProperty("文章列表")
    private List<Article> articleList ;

    @ApiModelProperty("公众号配置ID不能为空")
    @NotNull(message = "公众号配置ID不能为空")
    private Long wxpubId ;

    public List<Article> getArticleList() {
        return articleList;
    }

    public void setArticleList(List<Article> articleList) {
        this.articleList = articleList;
    }

    public Long getWxpubId() {
        return wxpubId;
    }

    public void setWxpubId(Long wxpubId) {
        this.wxpubId = wxpubId;
    }
}
